package com.ruoyi.experiment.domain;

import java.time.LocalDateTime;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * CTF实验环境实例列对象 ctf_experimental_environment_example
 * 
 * @author 邓鑫
 * @date 2023-07-29
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CtfExperimentalEnvironmentExample extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** CTF实验环境实例id */
    private Long ctfEnvironmentExampleId;

    /** CTF实验环境id */
    private Long ctfEnvironmentId;

    /** 实例生成时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "实例生成时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime exampleCreateTime;

    /** 实例结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "实例结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime exampleEndTime;

    /** 环境实例*/
    private CtfExperimentalEnvironment cee;
}
